#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
namespace Cephei.QL.Math
{
    /// <summary> 
	/// ! This class implements the concept of Matrix as used in linear algebra. As such, it is <b>not</b> meant to be used as a container.
	/// </summary>
    [Guid ("AEB61A46-E01F-4858-876A-AF9B8B8E994A"),ComVisible(true)]
	public interface IMatrix 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Double At(UInt64 prm1);
        /// <summary> 
		/// 
		/// </summary>
		 Double Begin {get;}
        /// <summary> 
		/// 
		/// </summary>
		 UInt64 Columns {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Boolean Empty {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double End {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Row_begin(UInt64 i);
        /// <summary> 
		/// 
		/// </summary>
		 Double Row_end(UInt64 i);
        /// <summary> 
		/// 
		/// </summary>
		 UInt64 Rows {get;}
        /// <summary> 
		/// 
		/// </summary>
		 IMatrix Swap(Cephei.QL.Math.IMatrix prm1);
    }   

    /// <summary> 
	/// ! This class implements the concept of Matrix as used in linear algebra. As such, it is <b>not</b> meant to be used as a container. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IMatrix_Factory : INativeCollection_Factory<IMatrix>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Matrix of IMatrix, with event notification of changes
        /// </summary>
        /// <returns>a new Matrix&ltIMatrix&gt</returns>
        IMatrix<IMatrix> CreateMatrix();
        /// <summary>
        /// Create a hybrid Matrix of ICell of IMatrix, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIMatrix&ltI&ltIMatrix&gt&gt&gt</returns>
        ICoCell<IMatrix<ICoCell<IMatrix>>> CreateCellMatrix();
        IMatrix<IMatrix> CreateMatrix (IEnumerable<IEnumerable<IMatrix>> source);
        ICoCell<IMatrix<ICoCell<IMatrix>>> CreateCellMatrix (IEnumerable<IEnumerable<ICoCell<IMatrix>>> source);
        /// <summary>
        /// Create a hybrid Vector of IMatrix, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltIMatrix&gt</returns>
        IVector<IMatrix> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of IMatrix, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltIMatrix&gt&gt&gt</returns>
        ICoCell<IVector<ICoCell<IMatrix>>> CreateCellVector();
        IVector<IMatrix> CreateVector (IEnumerable<IMatrix> source);
        ICoCell<IVector<ICoCell<IMatrix>>> CreateCellVector (IEnumerable<ICoCell<IMatrix>> source);
        /// <summary> 
		/// 
		/// </summary>
	    IMatrix Create (Cephei.QL.Math.IMatrix prm1);
        /// <summary> 
		/// 
		/// </summary>
	    IMatrix Create (UInt64 rows, UInt64 columns, Double value);
        /// <summary> 
		/// 
		/// </summary>
	    IMatrix Create (UInt64 rows, UInt64 columns);
        /// <summary> 
		/// 
		/// </summary>
	    IMatrix Create ();
    }
}

